projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17bef68
)
ppc4xx: Remove compiler warning in cpu/ppc4xx/44x_spd_ddr2.c
author
Stefan Roese
<
[email protected]
>
Tue, 15 Jan 2008 09:11:02 +0000
(10:11 +0100)
committer
Stefan Roese
<
[email protected]
>
Tue, 15 Jan 2008 09:11:02 +0000
(10:11 +0100)
Signed-off-by: Stefan Roese <
[email protected]
>
cpu/ppc4xx/44x_spd_ddr2.c
patch
|
blob
|
history
diff --git
a/cpu/ppc4xx/44x_spd_ddr2.c
b/cpu/ppc4xx/44x_spd_ddr2.c
index 3ac2cdcf7f469f7126309f4105c6fc3b88adf776..3bafea3a95834b37e6a83e4f103c0f93b831cccb 100644
(file)
--- a/
cpu/ppc4xx/44x_spd_ddr2.c
+++ b/
cpu/ppc4xx/44x_spd_ddr2.c
@@
-387,9
+387,9
@@
long int initdram(int board_type)
unsigned char spd1[MAX_SPD_BYTES];
unsigned char *dimm_spd[MAXDIMMS];
unsigned long dimm_populated[MAXDIMMS];
- unsigned long num_dimm_banks;
/* on board dimm banks */
+ unsigned long num_dimm_banks; /* on board dimm banks */
unsigned long val;
- ddr_cas_id_t
selected_cas;
+ ddr_cas_id_t
selected_cas = DDR_CAS_5; /* preset to silence compiler */
int write_recovery;
unsigned long dram_size = 0;